package pers.cj.pdos.controller.entity;

/**
 * Json包返回基类
 */
public class BaseEntity {
    /**
     * 返回码 1-成功 其他-失败
     */
    private int code;
    /**
     * 失败说明
     */
    private String msg;

    public BaseEntity() {
    }

    public BaseEntity(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
